﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace StoreHouseA
{
    public partial class Form16 : Form
    {
        public Form16()
        {
            InitializeComponent();
        }

        private void Form16_Load(object sender, EventArgs e)
        {

            this.reportViewer1.RefreshReport();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            int year = int.Parse(comboBox1.Text);
            int month = int.Parse(comboBox2.Text);
            this.select_deal_monthTableAdapter.Fill(
                this.StoreHouseDataSet.select_deal_month, year, month);
            this.reportViewer1.RefreshReport();
        }
    }
}
